package com.imooc.imoocbilibili.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 江黎
 * @since 2022-04-12
 */
public class OmsEnums {

    @Getter
    @AllArgsConstructor
    public enum VersionTypeEnum {
        /**
         * 端 1:android 2:ios 3:web
         */
        ANDROID(1, "ANDROID"),
        IOS(2, "IOS"),
        WEB(3, "WEB"),
        ;
        private final Integer code;
        private final String message;
    }

    @Getter
    @AllArgsConstructor
    public enum UpdateTypeEnum {
        /**
         * 更新类型 1:非强制更新 2:强制更新
         */
        UN_MANDATORY(1, "非强制更新"),
        MANDATORY(2, "强制更新"),
        ;
        private final Integer code;
        private final String message;
    }

    @Getter
    @AllArgsConstructor
    public enum PushTypeEnum {
        /**
         * 发布方式 1:立即发布 2:定时发布
         */
        NOW(1, "立即发布"),
        TIMING(2, "定时发布"),
        ;
        private final Integer code;
        private final String message;
    }

    @Getter
    @AllArgsConstructor
    public enum PushStatusEnum {
        /**
         * 发布状态 1:已发布 2:定时发布 3:已撤回
         */
        PUSHED(1, "已发布"),
        TIMING(2, "定时发布"),
        CANCEL(2, "已撤回"),
        ;
        private final Integer code;
        private final String message;
    }
}
